//
//  SWImageView.h
//  roseenvyapp
//
//  Created by Saman Kumara on 9/14/12.
//  Copyright (c) 2012 Rockfish Interactive. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SWImageView : UIImageView{
    SWRequest *loadImageRequest;
    UIActivityIndicatorView *activityIndicator;
    
}
@property(nonatomic, retain) NSURL *fileUrl;

-(void)setSourceUrl:(NSURL *)url;
-(UIImage *)checkCasheFolder;
-(void)writeImage:(NSData *)imageData;
-(void)cancelRequest;
-(void)setSourceUrlString:(NSString *)url;
-(void)setSourceWitLargAIUrl:(NSURL *)url;

@end
